package com.example.appointment.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.time.LocalDate;

@Data
public class DoctorScheduleDTO {
    private Long id;

    @NotNull(message = "请选择医生")
    private Long doctorId;
    
    private String doctorName;

    @NotNull(message = "请选择科室")
    private Long departmentId;
    
    private String departmentName;

    @NotNull(message = "请选择日期")
    private LocalDate scheduleDate;

    @NotNull(message = "请选择时段")
    private String period; // MORNING, AFTERNOON

    @NotNull(message = "请设置最大预约人数")
    private Integer maxAppointments;

    private Integer availableAppointments;

    private Boolean status = true; // true-正常, false-停诊
} 